home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Games
/
PC-SIG World of Games (CDRM1080710) (1993).iso
/
ENT
/
DISK3055.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-17
|
1KB
|
50 lines
echo off
if '%1'=='' goto NoParam
batext %1
if errorlevel 99 goto NoDrive
if errorlevel 1 goto MakeDir
if errorlevel 0 goto DirOK
:NoDrive
echo The drive %1 does not exist! Please try again.
goto Abort
:MakeDir
echo Creating directory %1
mkdir %1
:DirOk
echo ARCANUM Computing Installation
echo ------------------------------
echo Select program to install by number:
echo 1) Tile Match complete installation (requires 470k free disk space)
echo 2) Tile Match minimal installation (for 360k diskettes)
echo 3) Abort installation
echo ------------------------------
echo Note: select option 1 only if installing to a hard disk or high
echo density (1.2 or 1.4 meg) diskette.
batext
if errorlevel 3 goto Abort
if errorlevel 2 goto Install2
if errorlevel 1 goto Install1
goto Abort
:Install1
echo Installing Tile Match to %1
match1 /e%1
match2 /e%1
batext cd %1
echo Installation complete. Type 'match' to run.
goto Abort
:Install2
echo Installing Tile Match (minimal installation) to %1
match1 /e%1
batext cd %1
echo Installation complete. Type 'match' to run.
goto Abort
:NoParam
echo -----------------------------------------------------------------------
echo You need to specify where you want the program installed. For example,
echo INSTALL A:
echo will install it on your A: drive, or
echo INSTALL C:\GAMES
echo will install to the \games directory on your C: drive.
echo Try again...
:Abort